import { lazy } from "react";
const Ding = lazy(() => import("../pages/Ding"));
const Detail = lazy(() => import("../pages/Detail"));
const Xi = lazy(() => import("../pages/Xi"));
const Doctor = lazy(() => import("../pages/Doctor"));
const Control = lazy(() => import("../pages/Control"));
const Science = lazy(() => import("../pages/Science"));
const Medicine = lazy(() => import("../pages/Medicine"));
const Gastrointestinal = lazy(() => import("../pages/Gastrointestinal"));
const Male = lazy(() => import("../pages/Male"));
const Psychological = lazy(() => import("../pages/Psychological"));
const Xq = lazy(() => import("../pages/Xq"));
// 用药指导
const Medicationguidance = lazy(() => import("../pages/Medicationguidance"));
// 医护上门
const MedicalDoorstep = lazy(() => import("../pages/MedicalDoorstep"));
// 健康权益
const HealthRights = lazy(() => import("../pages/HealthRights"));
// 极速咨询
const QuickConsultation = lazy(() => import("../pages/QuickConsultation"));
// 体验预约
const Experiencereservation = lazy(() => import("../pages/Experiencereservation"));

const Consultation = lazy(() => import("../pages/Consultation"));
const Jade = lazy(() => import("../pages/Jade"));

const Healthr = lazy(() => import('../pages/Healthr'))
const Register = lazy(() => import("../pages/Register"));
const Expert = lazy(() => import("../pages/Expert"));
const Zhuan = lazy(() => import("../pages/zhuan"));
const Mother = lazy(() => import("../pages/Mother"));
// 微脉主页所有路由
const HomeRouterList = [
  {
    path: "/ding",
    element: <Ding />,
  }, {
    path: "/detail/:id",
    element: <Detail />,
  }, {
    path: "/xi",
    element: <Xi />,
  }, {
    path: "/doctor",
    element: <Doctor />,
  }, {
    path: '/control',
    element: <Control />
  }, {
    path: "/science",
    element: <Science />,
  }, {
    path: "/medicine",
    element: <Medicine />,
  }, {
    path: "/gastrointestinal",
    element: <Gastrointestinal />,
  }, {
    path: "/male",
    element: <Male />,
  }, {
    path: "/psychological",
    element: <Psychological />,
  }, {
    path: "/xq",
    element: <Xq />,
  }, {
    path: "/medicationguidance",
    element: <Medicationguidance />,
  },
  {
    path: "/medicalDoorstep",
    element: <MedicalDoorstep />,
  },
  {
    path: "/healthrights",
    element: <HealthRights />,
  },
  {
    path: "/quickconsultation",
    element: <QuickConsultation />,
  },
  {
    path: "/experiencereservation",
    element: <Experiencereservation />,
  }, {
    path: '/consultation',
    element: <Consultation />
  }, {
    path: "/jade",
    element: <Jade />,
  }
  ,
  {
    path: "/healthr",
    element: <Healthr />,
  },
  {
    path: "/register",
    element: <Register />,
  },
  {
    path: "/expert",
    element: <Expert />,
  },
  {
    path: "/zhuan",
    element: <Zhuan />,
  },
  {
    path: "/mother",
    element: <Mother />,
  },
];


export default HomeRouterList;
